package com.bootdo.crm.dao;

import com.bootdo.crm.domain.CustomerSettingDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 员工拥有以及锁定客户数限制
 * @author cui
 * @email 1992lcg@163.com
 * @date 2020-02-20 13:14:28
 */
@Mapper
public interface CustomerSettingDao {

	CustomerSettingDO get(Integer settingId);
	
	List<CustomerSettingDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CustomerSettingDO customerSetting);
	
	int update(CustomerSettingDO customerSetting);
	
	int remove(Integer setting_id);
	
	int batchRemove(Integer[] settingIds);
}
